import request from "@/utils/request";
import { ArtistTempQuery, ArtistTempPageResult, ArtistTempForm, ArtistTemp } from "./model";

/**
 * 艺术家构模板内容API
 */
class ArtistTempAPI {

  static getArtistTemp(data: ArtistTempQuery) {
    return request<any, ArtistTemp>({
      url: "/artistTemp/getArtistTemp",
      method: "post",
      data: data,
    });
  }

  static saveArtistTemp(data: ArtistTempQuery) {
    return request<any, ArtistTemp>({
      url: "/artistTemp/saveArtistTemp",
      method: "post",
      data: data,
    });
  }

}

export default ArtistTempAPI;
